package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.RoleApplicationPermission;
import vn.edu.ptithcm.pim.dom.RoleApplicationPermissionId;

import java.util.List;

import vn.edu.ptithcm.pim.dao.RoleApplicationPermissionDao;
@SuppressWarnings({ "rawtypes" })
public class RoleApplicationPermissionService {
	private RoleApplicationPermissionDao roleApplicationPermissionDao;

	public RoleApplicationPermissionDao getRoleApplicationPermissionDao() {
		return roleApplicationPermissionDao;
	}

	public void setRoleApplicationPermissionDao(
			RoleApplicationPermissionDao roleApplicationPermissionDao) {
		this.roleApplicationPermissionDao = roleApplicationPermissionDao;
	}

	public void save(RoleApplicationPermission roleApplicationPermission) {
		roleApplicationPermissionDao.save(roleApplicationPermission);
	}

	public void saveOrUpdate(RoleApplicationPermission roleApplicationPermission) {
		roleApplicationPermissionDao.saveOrUpdate(roleApplicationPermission);
	}

	public void lock(RoleApplicationPermission roleApplicationPermission) {
		roleApplicationPermissionDao.lock(roleApplicationPermission);
	}

	public void delete(RoleApplicationPermission roleApplicationPermission) {
		roleApplicationPermissionDao.delete(roleApplicationPermission);
	}

	public RoleApplicationPermission merge(
			RoleApplicationPermission roleApplicationPermission) {
		return roleApplicationPermissionDao.merge(roleApplicationPermission);
	}

	public RoleApplicationPermission findById(RoleApplicationPermissionId id) {
		return roleApplicationPermissionDao.findById(id);
	}

	public List findByExample(
			RoleApplicationPermission roleApplicationPermission) {
		return roleApplicationPermissionDao
				.findByExample(roleApplicationPermission);
	}
}
